<%--
  Created by IntelliJ IDEA.
  User: user
  Date: 2024/6/19
  Time: 14:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <style>
        #eidtUserInfoBox{
            text-align: center;
        }
        #eidtUserInfoBox div{
            line-height: 60px;
        }
        #eidtUserInfoBox input{
            width: 300px;
            height: 50px;
            border-radius: 6px;
        }
        button{
            width: 80px;
            height: 50px;
            border-radius: 6px;
            border: 0px;
            color: #FFFFFF;
        }
        #insert{
            background-color: #226699;
        }
        #close{
            background-color: darkgrey;
        }
        a{
            display: inline-block;
            width: 80px;
            height: 50px;
            border-radius: 6px;
            border: 0px;
            color: #FFFFFF;
            background-color: gray;
            font-size: 13px;
            text-decoration: none;
            line-height: 50px;
        }
    </style>
</head>
<body>
<div id="eidtUserInfoBox">
    <form action="updateUserInfo" method="post">
        <input type="hidden" name="id" value="${userInfoById[0]["id"]}"/>
        <div style="margin-top:50px">
            用&nbsp; 户&nbsp; 名<input type="text" name="username" placeholder="请输入用户名" value="${userInfoById[0]["username"]}"/>
        </div>
        <div>
            密&nbsp; &nbsp; &nbsp; 码 <input type="text" name="userpwd" placeholder="请输入密码" value="${userInfoById[0]["userpwd"]}"/>
        </div>
        <div>
            家庭住址<input type="text" name="useraddress" placeholder="请输入家庭住址" value="${userInfoById[0]["useraddress"]}"/>
        </div>
        <div>
            联系方式<input type="text" name="usertel" placeholder="请输入联系方式" value="${userInfoById[0].usertel}"/>
        </div>
        <div>
            <button id="insert" style="margin-left: 50px;">编辑</button>
            <a href="userinfoManager.jsp" style="margin-left: 20px;"  id="close">关闭</a>
        </div>
    </form>

</div>
</body>
</html>

